home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 August / Macworld (1999-08).dmg / Shareware World / Info / For Developers / ObjectPlant.sea / ObjectPlant / Code Generation templates ƒ / README < prev    next >
Text File  |  1999-05-19  |  2KB  |  25 lines

  1. A short note on code generation templates
  2.  
  3. The templates provided in this folder shall be used as described below:
  4.  
  5. Word 5.1-6.0
  6. This is a template that can be used to generate Word RTF files which can be read by at least Word 5.1 up to 6.0. It generates a file for each class. The generated file is named classname.rtf
  7.  
  8. Java
  9. This template generates one file/class or interface in the Object Model. The language is of course Java and the egenerated file is named classname.java or interfacename.java
  10. People that has previously used the old class.java and interface.java template files
  11. will hit some problems with interface file generation when either sticking to the old
  12. files or changing to this new template file. Code will not disappear but I still strongly
  13. recommend anyone changing template files making a backup of the code before generating code with this new version of ObjectPlant.
  14.  
  15. C++Template.cc C++Template.h
  16. These are the old templates for generating C++ files. They are only provided for those already started using the old template files and wants to be on the safe side not changing template  files for future code generation. Generated files are named classname.cc and classname.h
  17. These are the only template files that support C++ tenplates.
  18.  
  19. C++CWTemplate.cp C++CWTemplate.h
  20. These two files are modified to suit the CodeWarrior style of code and file layout. They include some description fields in the beginning of the file and adds some pragmas. Generated files are named classname.cp and classname.h
  21.  
  22. C++SpecialTemplate.cc C++SpecialTemplate.h
  23. These two files are modified version of the old C++Template files. With these two template files it is possible to generate code for several classes into a single file, but they can also be used for generating one file/class why I recommend using these files. Please note that the {USERCODE} tag inside the class declaration must not be removed.
  24.  
  25.